#include "common.h"

extern void TRAN_init();
extern void TRAN_new_source(char *name,char *data);
extern void TRAN_get_value(char *name, double t, double *ret_val, int k);
extern void TRAN_backward_euler(const double *mna_g, const double *mna_c, const double *e, const double *x, 
										int n, double h, double *A, double *RHS);
extern void TRAN_backward_euler_sparse(const cs *mna_g, const cs *mna_c, const double *e, const double *x, 
										int n, double h, cs **A, double *RHS);

extern void TRAN_trapezoidial(const double *mna_g, const double *mna_c, const double *e, const double *e_prev,
						const double *x_prev, int n, double h, double *A, double *RHS);
extern void TRAN_trapezoidial_sparse(const cs *mna_g, const cs *mna_c, const double *e, const double *e_prev,
						const double *x_prev, int n, double h, cs **A, double *RHS);

extern void TRAN_print();
